package com.fegin;

import com.utils.Result;
import com.utils.ResultUtils;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class StockServiceExcepiton  implements StockService{

    @Override
    public Result findStock() {
        return ResultUtils.error(500,"服务器异常");
    }
}
